package com.bms.cfcmms.util;

/**
 * Created by carl on 2017/3/20.
 */
public class Constants {

    /**
     * 存储当前登录用户id的字段名
     */
    public static final String CURRENT_USER_NAME = "CURRENT_USER_NAME";

    /**
     * token有效期（小时）
     */
    public static final int TOKEN_EXPIRES_HOUR = 72;

    /**
     * 存放Authorization的header字段
     */
    public static final String AUTHORIZATION = "authorization";

    /**
     * 用户或者密码不正确
     */
    public static final String THE_USER_OR_PASSORD_IS_NOT_RIGHT = "00000000";

    /**
     * 验证码错误
     */
    public static final String THE_VALIDATECODE_IS_ERROR = "00000001";
    /**
     * 账户被锁定
     */
    public static final String THE_USER_IS_LOCKED = "00000002";

}
